Welcome![Sign In][Sign Up]
Location:
Search - wifi in java

Search list

[androidandroid-wuxiandiancai

Description: PS(补充): 一、(之前环境myeclipse10或2014、eclipse android、IE10) mysql建表与存储过程:在WirelessOrder_Server目录下有‘并台存储过程代码.txt’和 建表语句.txt ,需要在mysql数据库执行来建表 二、配置数据库 在WirelessOrder_Server/src/有DBConfig.properties文件,需要将里面的username和password改为自己mysql数据库用户名与密码(即第一步建表的用户) 三、修改客户端IP 在WirelessOrder_Client/src/com/amaker/util目录下有HttpUtil.java文件,14行将String BASE_URL= http://192.168.43.216:8080/WirelessOrder_Server/ 中192.168.43.216改为自己主机IP 四、mysql数据表根据文档添加数据,如登入用户名、密码等等需要自己造;tomcat发布运行进行测试 注意:请查看数据表结构,有主键外键约束 PS:真是手机有可能连不上客户端,可以用模拟器或是电脑与手机都用同一个wifi测试 如有疑问可发-PS (supplement): a, (before environmental myeclipse10 or 2014, eclipse android, IE10) mysql built table and stored procedure: In WirelessOrder_Server directory and stored-procedure code .txt and construction of the table statement .txt , need mysql s to build in table II, in the configuration WirelessOrder_Server/src/have DBConfig.properties file needs to be inside the username and password to own mysql user name and password (that is, the first step to build a user table) III. modify the client IP in WirelessOrder_Client/src/com/amaker/util directory HttpUtil.java file, line 14 String BASE_URL = http://192.168.43.216:8080/WirelessOrder_Server/ in changing his host 192.168.43.216 IP four, mysql data table according to the document to add data, such as user login name, password, and so needs its own making tomcat release test run Note: See the data table structure, primary key foreign key constraint PS: It is possible to phone Rom clients can use the simulator or a computer wit
Platform: | Size: 2811904 | Author: 吴昊 | Hits:
« 1 2»

CodeBus www.codebus.net